<template>
  <t-checkbox-group v-model="checkedCities" :max="3" :min="2">
    <t-checkbox v-for="city in ['上海', '北京', '广州', '深圳']" :label="city">{{ city }}</t-checkbox>
  </t-checkbox-group>
</template>

<script lang="ts">
import {ref} from "vue";

export default {
  setup() {
    const checkedCities = ref(['上海'])
    return {
      checkedCities
    }
  }
}
</script>
